// pages/components/good_recommend.js
const api = require("../request/api")
const request = require("../request/request")
const util = require("../utils/util")
const App = getApp();
Component({
    /**
     * 组件的属性列表
     */
    properties: {
        more_list: Array,
        if_show_cart: {
            type: Boolean,
            value: true
        }
    },

    /**
     * 组件的初始数据
     */
    data: {

    },

    /**
     * 组件的方法列表
     */
    methods: {
        go_detail(e) {
            this.triggerEvent("go_detail", e)
        },
        cart_add() {
            this.triggerEvent("cart_add")
        },
    },
})
